<?php
ob_start(); 
echo "Extrayendo...<br>";
ob_flush();
  include_once('Zpclzip.lib.php');

  $archive = new PclZip('ZBackup.zip');
  if ($archive->extract() == 0) {
    die("Error : ".$archive->errorInfo(true));
  }

echo "Finalizado!...<br>";
ob_flush();
?> 